<?xml version="1.0"?>
<sams:SF_SpatialSamplingFeature
	gml:id="b1"
	xmlns:swe="http://www.opengis.net/swe/2.0"
	xmlns:om="http://www.opengis.net/om/2.0"
	xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
	xmlns:sam="http://www.opengis.net/sampling/2.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns:gml="http://www.opengis.net/gml/3.2"
	xmlns:cv="http://www.opengis.net/cv/0.2/gml32"
	xsi:schemaLocation="http://www.opengis.net/swe/2.0 http://schemas.opengis.net/sweCommon/2.0/swe.xsd 
	http://www.opengis.net/cv/0.2/gml32 http://bp.schemas.opengis.net/06-188r2/cv/0.2.2_gml32/cv.xsd 
	http://www.opengis.net/om/2.0 http://schemas.opengis.net/om/2.0/observation.xsd 
	http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
	<gml:description>Geology borehole Encoded as a SamplingCurve With three logs encoded as the
		results of relatedObservations</gml:description>
	<gml:name
		codeSpace="http://my.geology.custodian.org/projects/2007">b1</gml:name>
	<gml:boundedBy>
		<gml:Envelope
			srsName="urn:ogc:def:crs:EPSG:6.8:4283">
			<!-- 2D CRS -->
			<gml:lowerCorner>-30.7117 134.2053</gml:lowerCorner>
			<gml:upperCorner>-30.7111 134.2059</gml:upperCorner>
		</gml:Envelope>
	</gml:boundedBy>
	<sam:type
		xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingCurve"/>
	<sam:sampledFeature
		xlink:href="http://my.geology.custodian.org/unit/g345"/>
	<sam:relatedObservation>
		<om:OM_Observation
			gml:id="b1_lith1">
			<gml:description>Lithology log Result is encoded using OGC Discrete Coverage/interleaved
				pattern</gml:description>
			<om:type
				xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_DiscreteCoverageObservation"/>
			<om:phenomenonTime>
				<gml:TimeInstant
					gml:id="T3247149">
					<gml:timePosition>2007-06-06T17:20:30.00+08:00</gml:timePosition>
				</gml:TimeInstant>
			</om:phenomenonTime>
			<om:resultTime
				xlink:href="#T3247149"/>
			<om:procedure
				xlink:href="http://www.csiro.au/people/ps205.html"/>
			<om:observedProperty
				xlink:href="urn:ogc:def:phenomenon:CGI:2007:lithology"/>
			<om:featureOfInterest
				xlink:href="../../../.."/>
			<om:result>
				<cv:CV_DiscreteCoverage
					gml:id="CV12415">
					<cv:domainExtent
						xlink:href="#b1_ls1"/>
					<cv:rangeType
						xlink:href="urn:ogc:def:phenomenon:CGI:2007:lithology"/>
					<cv:element>
						<!-- maybe a specialized interval-value pair should be developed for this common case? -->
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<gml:LineString
											gml:id="ls91826"
											srsName="#b1_ls1"
											srsDimension="1">
											<!-- positions given in 1D CRS defined by borehole shape -->
											<gml:pos>0.0</gml:pos>
											<gml:pos>5.6</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<cv:value
								xsi:type="gml:CodeType"
								codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Laterite</cv:value>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<gml:LineString
											gml:id="ls91827"
											srsName="#b1_ls1"
											srsDimension="1">
											<gml:pos>5.6</gml:pos>
											<gml:pos>35.0</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<cv:value
								xsi:type="gml:CodeType"
								codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Granite</cv:value>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<gml:LineString
											gml:id="ls91828"
											srsName="#b1_ls1"
											srsDimension="1">
											<gml:pos>35.6</gml:pos>
											<gml:pos>55.0</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<cv:value
								xsi:type="gml:CodeType"
								codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Dacite</cv:value>
						</cv:CV_GeometryValuePair>
					</cv:element>
				</cv:CV_DiscreteCoverage>
			</om:result>
		</om:OM_Observation>
	</sam:relatedObservation>
	<sam:relatedObservation>
		<om:OM_Observation
			gml:id="b1_ms1">
			<gml:description>Magnetic susceptibility log Result is encoded using SWE Common
				"DataArray" element, which embeds values in a text string</gml:description>
			<om:type
				xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/SWEObservation"/>
			<om:phenomenonTime>
				<gml:TimeInstant
					gml:id="T13411414">
					<gml:timePosition>2007-06-06T14:20:30.00+08:00</gml:timePosition>
				</gml:TimeInstant>
			</om:phenomenonTime>
			<om:resultTime
				xlink:href="#T13411414"/>
			<om:procedure
				xlink:href="http://www.geophysics.org/MS34"/>
			<om:observedProperty
				xlink:href="urn:ogc:def:phenomenon:CGI:2007:MagneticSusceptibility"/>
			<om:featureOfInterest
				xlink:href="../../../.."/>
			<om:result>
				<swe:DataArray>
					<swe:elementCount>
						<swe:Count>
							<swe:value>5</swe:value>
						</swe:Count>
					</swe:elementCount>
					<swe:elementType
						name="MagSusElement">
						<swe:DataRecord>
							<swe:field
								name="offset">
								<swe:Quantity
									definition="urn:ogc:def:phenomenon:CGI:2007:offset">
									<swe:uom
										xlink:href="urn:ogc:def:uom:UCUM:m"/>
								</swe:Quantity>
							</swe:field>
							<swe:field
								name="MagSus">
								<swe:Quantity
									definition="urn:ogc:def:phenomenon:CGI:2007:MagneticSusceptibility">
									<swe:uom
										xlink:href="urn:ogc:def:uom:UCUM:1"/>
								</swe:Quantity>
							</swe:field>
						</swe:DataRecord>
					</swe:elementType>
					<swe:encoding>
						<swe:TextEncoding
							decimalSeparator="."
							tokenSeparator=","
							blockSeparator=" "/>
					</swe:encoding>
					<swe:values> 1.0,0.0568 2.0,0.2568 3.0,0.3568 4.0,0.3578 5.0,0.3597
					</swe:values>
				</swe:DataArray>
			</om:result>
		</om:OM_Observation>
	</sam:relatedObservation>
	<sam:relatedObservation>
		<om:OM_Observation
			gml:id="b1_p1">
			<gml:description>Porosity log Result is encoded using OGC Discrete Point
				Coverage/interleaved pattern</gml:description>
			<om:type
				xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_DiscretePointCoverageObservation"/>
			<om:phenomenonTime>
				<gml:TimeInstant
					gml:id="T9897">
					<gml:timePosition>2007-06-06T14:20:30.00+08:00</gml:timePosition>
				</gml:TimeInstant>
			</om:phenomenonTime>
			<om:resultTime
				xlink:href="#T9897"/>
			<om:procedure
				xlink:href="http://www.geophysics.org/MS34"/>
			<om:observedProperty
				xlink:href="http://sweet.jpl.nasa.gov/ontology/property.owl#Porosity"/>
			<om:featureOfInterest
				xlink:href="../../../.."/>
			<om:result>
				<cv:CV_DiscretePointCoverage
					gml:id="CV123476">
					<cv:domainExtent
						xlink:href="#b1_ls1"/>
					<cv:rangeType
						xlink:href="http://sweet.jpl.nasa.gov/ontology/property.owl#Porosity"/>
					<cv:element>
						<cv:CV_PointValuePair>
							<cv:geometry>
								<gml:Point
									srsName="#b1_ls1"
									srsDimension="1"
									gml:id="P342343">
									<gml:pos>1.0</gml:pos>
								</gml:Point>
							</cv:geometry>
							<cv:value
								xsi:type="gml:MeasureType"
								uom="1">0.0568</cv:value>
						</cv:CV_PointValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_PointValuePair>
							<cv:geometry>
								<gml:Point
									srsName="#b1_ls1"
									srsDimension="1"
									gml:id="P23144">
									<gml:pos>2.0</gml:pos>
								</gml:Point>
							</cv:geometry>
							<cv:value
								xsi:type="gml:MeasureType"
								uom="1">0.0068</cv:value>
						</cv:CV_PointValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_PointValuePair>
							<cv:geometry>
								<gml:Point
									srsName="#b1_ls1"
									srsDimension="1"
									gml:id="P737643">
									<gml:pos>3.0</gml:pos>
								</gml:Point>
							</cv:geometry>
							<cv:value
								xsi:type="gml:MeasureType"
								uom="1">0.08</cv:value>
						</cv:CV_PointValuePair>
					</cv:element>
				</cv:CV_DiscretePointCoverage>
			</om:result>
		</om:OM_Observation>
	</sam:relatedObservation>
	<sams:shape>
		<gml:LineString
			gml:id="b1_ls1"
			srsName="urn:ogc:def:crs:EPSG:6.8:4347">
			<!-- 3D CRS -->
			<gml:pos>-30.7111 134.2059 321.</gml:pos>
			<gml:pos>-30.7112 134.2058 315.</gml:pos>
			<gml:pos>-30.7113 134.2057 303.</gml:pos>
			<gml:pos>-30.7114 134.2056 296.</gml:pos>
			<gml:pos>-30.7115 134.2055 272.</gml:pos>
			<gml:pos>-30.7116 134.2054 271.</gml:pos>
			<gml:pos>-30.7117 134.2053 270.</gml:pos>
		</gml:LineString>
	</sams:shape>
</sams:SF_SpatialSamplingFeature>
